/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package aptech.eproject.logictics.dao.an;

import aptech.eproject.logictics.db.BookingStatus;
import aptech.eproject.logictics.db.Delivery;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author AN
 */
@Remote
public interface BookingHistoryManageRemote {

    List getDeliveryList(String username);

    boolean updateBookingStatus(int deliveryID, BookingStatus bookingStatus);

    Delivery getDeliveryByID(int deliveryID);

    double calculateCancellationFee(aptech.eproject.logictics.db.Delivery d);
    
}
